Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cranelift: Remove the ABICaller trait #4711

Merged
merged 2 commits into from
Aug 15, 2022

Conversation

fitzgen
Copy link
Member

@fitzgen fitzgen commented Aug 15, 2022

It has only one implementation: the ABICallerImpl struct. We can just use that
directly rather than having extra, unnecessary layers of generics and abstractions.

It has only one implementation: the `ABICallerImpl` struct. We can just use that
directly rather than having extra, unnecessary layers of generics and abstractions.
@fitzgen fitzgen requested a review from jameysharp August 15, 2022 18:56
Copy link
Contributor

@jameysharp jameysharp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, this looks right!

@jameysharp
Copy link
Contributor

It seems a little silly to have an entire module that now only defines the SmallInstVec type alias, but it's also harmless to leave it there, so 🤷

@fitzgen
Copy link
Member Author

fitzgen commented Aug 15, 2022

It seems a little silly to have an entire module that now only defines the SmallInstVec type alias, but it's also harmless to leave it there, so shrug

Ah yes, this is another thing I want to do: squash abi.rs and abi_impl.rs together once this lands.

@fitzgen fitzgen enabled auto-merge (squash) August 15, 2022 19:15
@fitzgen fitzgen merged commit e0d4934 into bytecodealliance:main Aug 15, 2022
@fitzgen fitzgen deleted the no-more-abi-caller-trait branch August 15, 2022 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants